package com.example.petplanet.mapper;


import com.example.petplanet.domain.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDao {

    User getUserByPhone(String phone);

    int Register(User user);

    int editBasicMessage(long userId, char sex, Integer age, String name);

    User getUserById(Long targetUserId);

    int updateUserPhone(Long userId, String phone);

    int updateUserAvatar(Long userId, String lastUrl);
}
